<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../Ajax—资料/day2/day2/code/lib/bootstrap.css">
    <!-- <script src="../Ajax—资料/day2/day2/code/js/cmt.js"></script> -->
    <script src="./jquery-3.6.min.js"></script>
    <script src="./05.js"></script>
</head>

<body style="padding: 15px;">

    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">发表评论</h3>
        </div>
        <form class="panel-body" id="formAddCmt">
            <div>评论人：</div>
            <input type="text" class="form-control" name="username">
            <div>评论内容：</div>
            <textarea class="form-control" name="content"></textarea>

            <button type="submit" class="btn btn-primary">发表评论</button>
        </form>
    </div>

    <ul class="list-group" id="cmt-list">
        <li class="list-group-item">
            <span class="badge" style="background-color:#f0ad4e">评论时间：</span>
            <span class="badge" style="background-color:#5bc0de">评论人：</span>
            item1
        </li>

    </ul>

</body>

</html>